package com.bbzn.device.client.service;


import com.bbzn.device.client.dataobject.MqttSub;

import java.util.Date;
import java.util.List;

public interface MqttSubService {


    int deleteByPrimaryKey(Integer id);

    int insert(MqttSub record);

    int insertOrUpdate(MqttSub record);

    int insertOrUpdateSelective(MqttSub record);

    int insertSelective(MqttSub record);

    MqttSub selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MqttSub record);

    int updateByPrimaryKey(MqttSub record);

    List<MqttSub> findByAll(MqttSub mqttSub);

    int updateBatch(List<MqttSub> list);

    int updateBatchSelective(List<MqttSub> list);

    int batchInsert(List<MqttSub> list);

    List<MqttSub> findListByGroupId(List<Long> ids);

    List<MqttSub> findListByGid(List<Long> ids);

    int deleteByGroupId(List<Long> ids);

    int batchDel(List<Integer> list);

    int updateTopicByClientIdAndOldTopic(String oldTopic, String client, String updateTopic, Date updateTime, String updatedBy);

}

